package com.sky.service;

import com.sky.dto.EmployeeDTO;
import com.sky.dto.EmployeeLoginDTO;
import com.sky.dto.EmployeePageQueryDTO;
import com.sky.entity.Employee;
import com.sky.result.PageResult;

public interface EmployeeService {
    //员工登录
    Employee login(EmployeeLoginDTO employeeLoginDTO);

    //分页条件查询
    PageResult getPage(EmployeePageQueryDTO employeePageQueryDTO);

    //新增员工
    void insert(EmployeeDTO employeeDTO);

    // 回显员工
    Employee getById(Long id);

    // 修改员工
    void updateById(EmployeeDTO employeeDTO);

    // 启动禁用
    void startOrStop(Integer status, Long id);
}
